﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Drifting.Graphics.EffectObjects;
using Drifting.Graphics.PhysicalObjects.Vehicles;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Drifting.Scenes
{
    public class Introduction : Basic
    {
        E92Test m3;
        Z4 z4;
        Atlantis atlantis;

        public Introduction(ref Matrix view, ref Matrix projection, GraphicsDevice device, Camera camera, Game1 game)
            : base(ref view, ref projection, device, camera, game)
        {
            camera.Camera_InitView(80, 0, 16, 0, 3, 0, (float)(Math.PI / 26), ref view, ref projection);

            m3 = new E92Test(game);
            z4 = new Z4(game);
            atlantis = new Atlantis(game);
        }

        override public void Draw(Matrix camera, Matrix projection)
        {
            base.Draw(camera, projection);

            atlantis.Draw(camera, projection, 
                -25, 3.85f, 0,
                0, 0, -MathHelper.ToRadians(4.5f));

            m3.Draw(camera, projection, 2, 2f, -1.0f, 0);

            z4.Draw(camera, projection, 4.5f, 3.5f, -1, 0);
        }
    }
}
